import axios from "@/utils/axios";
//加密算法
import { shaCrypto } from '../utils/crypto';
export const getUsersList = (parmas) => {
    return axios.get("/um/query", parmas);
};
export const addUsers = (body) => {
    body['password'] = shaCrypto(body['password'] + 'icep1029!@');
    return axios.post("/um/create", body);
};
export const editPassWord = (body) => {
    body['password'] = shaCrypto(body['password'] + 'icep1029!@');
    return axios.post("/um/update", body);
};